FROM adoptopenjdk:11-jdk-hotspot-focal

VOLUME /tmp

ADD c-consul-provider-impl*.jar /app/provider-impl.jar
ADD config /app/config

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app/provider-impl.jar"]
